package com.leased.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserVerifyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserVerifyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCuserIdIsNull() {
            addCriterion("cuser_id is null");
            return (Criteria) this;
        }

        public Criteria andCuserIdIsNotNull() {
            addCriterion("cuser_id is not null");
            return (Criteria) this;
        }

        public Criteria andCuserIdEqualTo(Integer value) {
            addCriterion("cuser_id =", value, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdNotEqualTo(Integer value) {
            addCriterion("cuser_id <>", value, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdGreaterThan(Integer value) {
            addCriterion("cuser_id >", value, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cuser_id >=", value, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdLessThan(Integer value) {
            addCriterion("cuser_id <", value, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdLessThanOrEqualTo(Integer value) {
            addCriterion("cuser_id <=", value, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdIn(List<Integer> values) {
            addCriterion("cuser_id in", values, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdNotIn(List<Integer> values) {
            addCriterion("cuser_id not in", values, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdBetween(Integer value1, Integer value2) {
            addCriterion("cuser_id between", value1, value2, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCuserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cuser_id not between", value1, value2, "cuserId");
            return (Criteria) this;
        }

        public Criteria andCardCorrectIsNull() {
            addCriterion("card_correct is null");
            return (Criteria) this;
        }

        public Criteria andCardCorrectIsNotNull() {
            addCriterion("card_correct is not null");
            return (Criteria) this;
        }

        public Criteria andCardCorrectEqualTo(String value) {
            addCriterion("card_correct =", value, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectNotEqualTo(String value) {
            addCriterion("card_correct <>", value, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectGreaterThan(String value) {
            addCriterion("card_correct >", value, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectGreaterThanOrEqualTo(String value) {
            addCriterion("card_correct >=", value, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectLessThan(String value) {
            addCriterion("card_correct <", value, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectLessThanOrEqualTo(String value) {
            addCriterion("card_correct <=", value, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectLike(String value) {
            addCriterion("card_correct like", value, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectNotLike(String value) {
            addCriterion("card_correct not like", value, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectIn(List<String> values) {
            addCriterion("card_correct in", values, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectNotIn(List<String> values) {
            addCriterion("card_correct not in", values, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectBetween(String value1, String value2) {
            addCriterion("card_correct between", value1, value2, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardCorrectNotBetween(String value1, String value2) {
            addCriterion("card_correct not between", value1, value2, "cardCorrect");
            return (Criteria) this;
        }

        public Criteria andCardOppositeIsNull() {
            addCriterion("card_opposite is null");
            return (Criteria) this;
        }

        public Criteria andCardOppositeIsNotNull() {
            addCriterion("card_opposite is not null");
            return (Criteria) this;
        }

        public Criteria andCardOppositeEqualTo(String value) {
            addCriterion("card_opposite =", value, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeNotEqualTo(String value) {
            addCriterion("card_opposite <>", value, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeGreaterThan(String value) {
            addCriterion("card_opposite >", value, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeGreaterThanOrEqualTo(String value) {
            addCriterion("card_opposite >=", value, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeLessThan(String value) {
            addCriterion("card_opposite <", value, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeLessThanOrEqualTo(String value) {
            addCriterion("card_opposite <=", value, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeLike(String value) {
            addCriterion("card_opposite like", value, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeNotLike(String value) {
            addCriterion("card_opposite not like", value, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeIn(List<String> values) {
            addCriterion("card_opposite in", values, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeNotIn(List<String> values) {
            addCriterion("card_opposite not in", values, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeBetween(String value1, String value2) {
            addCriterion("card_opposite between", value1, value2, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardOppositeNotBetween(String value1, String value2) {
            addCriterion("card_opposite not between", value1, value2, "cardOpposite");
            return (Criteria) this;
        }

        public Criteria andCardHandIsNull() {
            addCriterion("card_hand is null");
            return (Criteria) this;
        }

        public Criteria andCardHandIsNotNull() {
            addCriterion("card_hand is not null");
            return (Criteria) this;
        }

        public Criteria andCardHandEqualTo(String value) {
            addCriterion("card_hand =", value, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandNotEqualTo(String value) {
            addCriterion("card_hand <>", value, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandGreaterThan(String value) {
            addCriterion("card_hand >", value, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandGreaterThanOrEqualTo(String value) {
            addCriterion("card_hand >=", value, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandLessThan(String value) {
            addCriterion("card_hand <", value, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandLessThanOrEqualTo(String value) {
            addCriterion("card_hand <=", value, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandLike(String value) {
            addCriterion("card_hand like", value, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandNotLike(String value) {
            addCriterion("card_hand not like", value, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandIn(List<String> values) {
            addCriterion("card_hand in", values, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandNotIn(List<String> values) {
            addCriterion("card_hand not in", values, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandBetween(String value1, String value2) {
            addCriterion("card_hand between", value1, value2, "cardHand");
            return (Criteria) this;
        }

        public Criteria andCardHandNotBetween(String value1, String value2) {
            addCriterion("card_hand not between", value1, value2, "cardHand");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoIsNull() {
            addCriterion("driving_card_photo is null");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoIsNotNull() {
            addCriterion("driving_card_photo is not null");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoEqualTo(String value) {
            addCriterion("driving_card_photo =", value, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoNotEqualTo(String value) {
            addCriterion("driving_card_photo <>", value, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoGreaterThan(String value) {
            addCriterion("driving_card_photo >", value, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("driving_card_photo >=", value, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoLessThan(String value) {
            addCriterion("driving_card_photo <", value, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoLessThanOrEqualTo(String value) {
            addCriterion("driving_card_photo <=", value, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoLike(String value) {
            addCriterion("driving_card_photo like", value, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoNotLike(String value) {
            addCriterion("driving_card_photo not like", value, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoIn(List<String> values) {
            addCriterion("driving_card_photo in", values, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoNotIn(List<String> values) {
            addCriterion("driving_card_photo not in", values, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoBetween(String value1, String value2) {
            addCriterion("driving_card_photo between", value1, value2, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andDrivingCardPhotoNotBetween(String value1, String value2) {
            addCriterion("driving_card_photo not between", value1, value2, "drivingCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoIsNull() {
            addCriterion("travel_card_photo is null");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoIsNotNull() {
            addCriterion("travel_card_photo is not null");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoEqualTo(String value) {
            addCriterion("travel_card_photo =", value, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoNotEqualTo(String value) {
            addCriterion("travel_card_photo <>", value, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoGreaterThan(String value) {
            addCriterion("travel_card_photo >", value, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("travel_card_photo >=", value, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoLessThan(String value) {
            addCriterion("travel_card_photo <", value, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoLessThanOrEqualTo(String value) {
            addCriterion("travel_card_photo <=", value, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoLike(String value) {
            addCriterion("travel_card_photo like", value, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoNotLike(String value) {
            addCriterion("travel_card_photo not like", value, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoIn(List<String> values) {
            addCriterion("travel_card_photo in", values, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoNotIn(List<String> values) {
            addCriterion("travel_card_photo not in", values, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoBetween(String value1, String value2) {
            addCriterion("travel_card_photo between", value1, value2, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andTravelCardPhotoNotBetween(String value1, String value2) {
            addCriterion("travel_card_photo not between", value1, value2, "travelCardPhoto");
            return (Criteria) this;
        }

        public Criteria andCheckStatueIsNull() {
            addCriterion("check_statue is null");
            return (Criteria) this;
        }

        public Criteria andCheckStatueIsNotNull() {
            addCriterion("check_statue is not null");
            return (Criteria) this;
        }

        public Criteria andCheckStatueEqualTo(Integer value) {
            addCriterion("check_statue =", value, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueNotEqualTo(Integer value) {
            addCriterion("check_statue <>", value, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueGreaterThan(Integer value) {
            addCriterion("check_statue >", value, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueGreaterThanOrEqualTo(Integer value) {
            addCriterion("check_statue >=", value, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueLessThan(Integer value) {
            addCriterion("check_statue <", value, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueLessThanOrEqualTo(Integer value) {
            addCriterion("check_statue <=", value, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueIn(List<Integer> values) {
            addCriterion("check_statue in", values, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueNotIn(List<Integer> values) {
            addCriterion("check_statue not in", values, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueBetween(Integer value1, Integer value2) {
            addCriterion("check_statue between", value1, value2, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andCheckStatueNotBetween(Integer value1, Integer value2) {
            addCriterion("check_statue not between", value1, value2, "checkStatue");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeIsNull() {
            addCriterion("auth_upload_time is null");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeIsNotNull() {
            addCriterion("auth_upload_time is not null");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeEqualTo(Date value) {
            addCriterion("auth_upload_time =", value, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeNotEqualTo(Date value) {
            addCriterion("auth_upload_time <>", value, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeGreaterThan(Date value) {
            addCriterion("auth_upload_time >", value, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("auth_upload_time >=", value, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeLessThan(Date value) {
            addCriterion("auth_upload_time <", value, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeLessThanOrEqualTo(Date value) {
            addCriterion("auth_upload_time <=", value, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeIn(List<Date> values) {
            addCriterion("auth_upload_time in", values, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeNotIn(List<Date> values) {
            addCriterion("auth_upload_time not in", values, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeBetween(Date value1, Date value2) {
            addCriterion("auth_upload_time between", value1, value2, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthUploadTimeNotBetween(Date value1, Date value2) {
            addCriterion("auth_upload_time not between", value1, value2, "authUploadTime");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgIsNull() {
            addCriterion("auth_verify_msg is null");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgIsNotNull() {
            addCriterion("auth_verify_msg is not null");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgEqualTo(String value) {
            addCriterion("auth_verify_msg =", value, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgNotEqualTo(String value) {
            addCriterion("auth_verify_msg <>", value, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgGreaterThan(String value) {
            addCriterion("auth_verify_msg >", value, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgGreaterThanOrEqualTo(String value) {
            addCriterion("auth_verify_msg >=", value, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgLessThan(String value) {
            addCriterion("auth_verify_msg <", value, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgLessThanOrEqualTo(String value) {
            addCriterion("auth_verify_msg <=", value, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgLike(String value) {
            addCriterion("auth_verify_msg like", value, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgNotLike(String value) {
            addCriterion("auth_verify_msg not like", value, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgIn(List<String> values) {
            addCriterion("auth_verify_msg in", values, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgNotIn(List<String> values) {
            addCriterion("auth_verify_msg not in", values, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgBetween(String value1, String value2) {
            addCriterion("auth_verify_msg between", value1, value2, "authVerifyMsg");
            return (Criteria) this;
        }

        public Criteria andAuthVerifyMsgNotBetween(String value1, String value2) {
            addCriterion("auth_verify_msg not between", value1, value2, "authVerifyMsg");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}